package com.zx.mes.test.hyl.model.adapt;

/**
 * 相比适配器类，对象适配器不需要继承Adaptee类
 * @author hyl
 * @date 2018-3-29
 */
public class Adpter2 implements Target{

    private Adaptee adaptee;

    public Adpter2(Adaptee adaptee) {
        this.adaptee = adaptee;
    }

    public void request() {
            this.adaptee.specificRequest();
    }
}
